package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级和教师关联对象 sys_class_and_teacher
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
public class SysClassAndTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String ctId;

    /** 班级ID */
    @Excel(name = "班级ID")
    private String classId;

    /** 教师ID */
    @Excel(name = "教师ID")
    private String teacherId;

    public void setCtId(String ctId) 
    {
        this.ctId = ctId;
    }

    public String getCtId() 
    {
        return ctId;
    }

    public void setClassId(String classId) 
    {
        this.classId = classId;
    }

    public String getClassId() 
    {
        return classId;
    }

    public void setTeacherId(String teacherId) 
    {
        this.teacherId = teacherId;
    }

    public String getTeacherId() 
    {
        return teacherId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ctId", getCtId())
            .append("classId", getClassId())
            .append("teacherId", getTeacherId())
            .toString();
    }
}
